.kg-cta-card,
.kg-cta-card * {
    box-sizing: border-box;
}

.kg-cta-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.kg-cta-bg-grey {
    background: rgba(151, 163, 175, 0.14)
}

.kg-cta-bg-white {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.2);
}

.kg-cta-bg-blue {
    background: rgba(33, 172, 232, 0.12);
}

.kg-cta-bg-green {
    background: rgba(52, 183, 67, 0.12);
}

.kg-cta-bg-yellow {
    background: rgba(240, 165, 15, 0.13);
}

.kg-cta-bg-red {
    background: rgba(209, 46, 46, 0.11);
}

.kg-cta-bg-pink {
    background: rgba(225, 71, 174, 0.11);
}

.kg-cta-bg-purple {
    background: rgba(135, 85, 236, 0.12);
}

.kg-cta-sponsor-label {
    margin: 0 2.4rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(124, 139, 154, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-wrap: pretty;
}

@media (max-width: 600px) {
    .kg-cta-sponsor-label {
        margin: 0 2rem;
        padding: 1rem 0;
    }
}

.kg-cta-bg-none .kg-cta-sponsor-label {
    margin: 0;
}


.kg-cta-sponsor-label p span:not(a span) {
    color: color-mix(in srgb, currentColor 40%, transparent);
}

.kg-cta-sponsor-label a {
    color: currentColor;
}

.kg-cta-content {
    display: flex;
    padding: 2.4rem;
    gap: 2.4rem;
}

@media (max-width: 600px) {
    .kg-cta-content {
        padding: 2rem;
        gap: 2rem;
    }
}

.kg-cta-bg-none .kg-cta-content {
    padding: 2.4rem 0;
    border-bottom: 1px solid rgba(124, 139, 154, 0.2);
}

.kg-cta-bg-none .kg-cta-content:not(.kg-cta-sponsor-label + .kg-cta-content) {
    border-top: 1px solid rgba(124, 139, 154, 0.2);
}

@media (max-width: 600px) {
    .kg-cta-bg-none .kg-cta-content {
        padding: 2rem 0;
    }
}

.kg-cta-minimal .kg-cta-content {
    flex-direction: row;
}

@media (max-width: 600px) {
    .kg-cta-minimal .kg-cta-content {
        flex-direction: column;
        gap: 1.6rem;
    }
}

.kg-cta-immersive .kg-cta-content {
    flex-direction: column;
}

.kg-cta-content-inner {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

@media (max-width: 600px) {
    .kg-cta-content-inner {
        gap: 2rem;
    }
}

.kg-cta-image-container {
    flex-shrink: 0;
}

.kg-cta-image-container img {
    object-fit: cover;
    border-radius: 6px;
}


.kg-cta-minimal .kg-cta-image-container img {
    width: 64px;
    height: 64px;
}

@media (max-width: 600px) {
    .kg-cta-minimal .kg-cta-image-container img {
        width: 52px;
        height: 52px;
    }
}

.kg-cta-immersive .kg-cta-text {
    text-align: center;
}

.kg-cta-text p {
    text-wrap: pretty;
}

.kg-cta-text p + p {
    margin-top: 2rem;
}

.kg-cta-text a {
    color: currentColor;
}

a.kg-cta-button {
    display: flex;
    position: static;
    align-items: center;
    padding: 0 2rem;
    height: 2.4em;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s ease-in-out;
}

a.kg-cta-button:hover {
    opacity: 0.85;
}

a.kg-cta-button.kg-style-accent {
    background-color: var(--ghost-accent-color);
}

.kg-cta-minimal a.kg-cta-button {
    width: max-content;
}

.kg-cta-immersive a.kg-cta-button {
    width: 100%;
}

